package com.xinshujia.test;

import com.google.gson.annotations.JsonAdapter;
import com.xinshujia.configuration.adapter.DateAdapter;
import com.xinshujia.configuration.adapter.TimestampAdapter;

import java.util.Date;

/**
 * *************************************
 * *   @author: 野狼上校               **
 * *   @since: 2024-07-26 18:35       **
 * *   @version: 1.0                  **
 * *************************************
 * <p>
 */
public class StudentDTO {
    private String studentName;
    private Integer age;
    @JsonAdapter(DateAdapter.class)
    private Date birthday;

    public String getStudentName() {
        return studentName;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }
}
